import { base } from "./api";
import axios from "./http";
// import qs from "qs";

const DATA = {
  monitoringData: params =>
    axios.get(`${base.URL}/oilSmoke/oilSmokePublish/selectNormal`, { params }),
  historyData: params =>
    axios.get(`${base.URL}/oilSmoke/oilSmokeData/selectAllByInfo`, { params })
};

export default DATA;
